package com.example.child_protection.dao;


import com.example.child_protection.model.SystemRoleMenuModel;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 角色菜单信息dao
 * @author Biz
 * @date 2018-11-7
 */
@Repository
public interface SystemRoleMenuDao extends BaseDao<SystemRoleMenuModel,Long> {

    /**
     * @Title: delete
     * @Description: 根据条件删除（逻辑删除）
     * @param model
     * @return
     * @return int
     */
    public int deleteByRoleId( SystemRoleMenuModel model );


    /**
     * @Title: findPage
     * @Description: 分页查询
     * @param model
     * @return
     * @return MODEL
     */
    public List<SystemRoleMenuModel> findList(SystemRoleMenuModel model );

}